#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include "mycoin.h"

#include <QMainWindow>

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
//    explicit PlayScene(QWidget *parent = nullptr);
    PlayScene(int levelNum);
    int levelIndex;
    void paintEvent(QPaintEvent *);
    //二维数组，维护每个关卡的数据
    int gameArray[4][4];

    MyCoin * coinBtn[4][4];

    bool isWin;

signals:
    void chooseSceneBack();
};

#endif // PLAYSCENE_H
